package com.kx.kxblog.service;

import com.kx.kxblog.entity.AbstractEntity;
import org.springframework.data.jpa.repository.JpaRepository;

public interface AbstractService<T extends AbstractEntity, ID> {
    T getById(ID id);
    T save(T entity);
}
